package com.shoppingmall.service;



import com.shoppingmall.commons.PageParam;
import com.shoppingmall.model.Goods;

import java.util.List;
import java.util.Map;

public interface GoodsService {

    List<Goods> queryGoods(Integer...isDisplay);

    Goods queryGoodById(int goods_id);

    void addGoods(Goods goods);

    void updateGoods(Goods goods);

    void delGoods(int[] goods_ids);

    List<Goods> queryGoodsByName(String goods_name);

    List<Goods> queryGoodsByKind(int goods_kind);

    void updatemangerGoods(int goods_display,int goods_id);

    List<Goods> mangerqueryGood(int goods_display);

    Map<String, Object> queryCommentByGoodsId(int goods_id, PageParam pageParam);
}
